<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			uni.getSystemInfo({
				success: (res) => {
					console.log(res.model);
					if(res.model.indexOf('iPhone X')>-1){
						this.$store.commit("system/SET_IPX",{isIpx:true});
					}
				}
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>

	
</style>
